package com.xcl.service;

import com.xcl.pojo.Category;

import java.util.List;

public interface CategoryService {

    //查询所有
    List<Category> findAll();

    //删除
    Integer deleteById(Integer id);

    //新增分类
    public Integer addCategory(Category category);

    //修改
    public Integer update(Category category);
}
